#include "floracommunitydevice.h"

FloraCommunityDevice::FloraCommunityDevice(QObject *parent) : QObject(parent)
{

}

void FloraCommunityDevice::registerLoopCommand(int commandType, QByteArray da)
{
    loopCommandMap.insert(commandType,da);
}

void FloraCommunityDevice::setMangerAddr(int addr)
{
    manger_addr = addr;
}


void FloraCommunityDevice::unregisterLoopCommand(int commandType)
{
    loopCommandMap.remove(commandType);
}

void FloraCommunityDevice::setResponseData(int ommandType, QByteArray da)
{

}

void FloraCommunityDevice::setBrustResponseData(int commandType, QByteArray da)
{

}


